package com.tl.sun.model;

import com.google.gson.annotations.SerializedName;

/**
 * 作者：HQY on 17/9/19 17:19
 * 邮箱：hqy_xz@126.com
 */

public class OrderEntity {


    /**
     * pak_type : senior
     * num : 1
     * terminal_type : pc
     * balance_flag : false
     * pre_terminal : 1
     * add_terminal : 0
     * sum_terminal : 1
     * vip_time : 1842580501
     * last_vip_time_format : 0秒
     * s_vip_time : 1842580501
     * last_s_vip_time_format : 10.7年
     * expire_time : 1842580501
     * last_time_format : 10.7年
     * last_day : 3897.8
     * last_vip_day : 0
     * last_s_vip_day : 3897.8
     * comp_money : 0
     * standard_money : 0
     * senior_money : 0
     * new_price : 270
     * sum_price : 270
     * p_num : 2
     * p_type : 月
     * vip_time_open : 1847764501
     * s_vip_time_open : 1847764501
     * expire_time_open : 1847764501
     * coupon_info : {"code":"0"}
     */
//    {
//        "pak_type": "senior",
//            "num": 1,
//            "terminal_type": "pc",
//            "balance_flag": "false",
//            "pre_terminal": 1,
//            "add_terminal": 0,
//            "sum_terminal": 1,
//            "vip_time": 1697957860,
//            "last_vip_time_format": "0秒",
//            "s_vip_time": 1697957860,
//            "last_s_vip_time_format": "5.6年",
//            "expire_time": 1697957860,
//            "last_time_format": "5.6年",
//            "last_day": 2040.2,
//            "last_vip_day": 0,
//            "last_s_vip_day": 2040.2,
//            "comp_money": 0,
//            "standard_money": 0,
//            "senior_money": 0,
//            "new_price": 0.01,
//            "sum_price": 0.01,
//            "p_num": 1,
//            "p_type": "月",
//            "vip_time_open": 1700549860,
//            "s_vip_time_open": 1700549860,
//            "expire_time_open": 1700549860,
//            "coupon_info": {
//        "code": "0"
//    }
//    }
    private int num;
    @SerializedName("sum_terminal")
    private int sumTerminal;
    @SerializedName("sum_price")
    private String sumPrice;


    private String type;

    private String order;

    @SerializedName("coupon_info")
    private CouponEntity couponInfo;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }


    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


    public int getSumTerminal() {
        return sumTerminal;
    }

    public void setSumTerminal(int sumTerminal) {
        this.sumTerminal = sumTerminal;
    }


    public String getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(String sumPrice) {
        this.sumPrice = sumPrice;
    }

    public CouponEntity getCouponInfo() {
        return couponInfo;
    }

    public void setCouponInfo(CouponEntity couponInfo) {
        this.couponInfo = couponInfo;
    }
}
